﻿using HandyControl.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlaceOrder_Admin.Models.Common
{
    public class ChatInfoModel
    {
        public object Message { get; set; }

        public string SenderId { get; set; }

        public ChatRoleType Role { get; set; }

        public ChatMessageType Type { get; set; }

        public object Enclosure { get; set; }
        public DateTime CreateTime { get; set; }
        public string NickName { get; set; }
        public string ChatTitle { get; set; }
        public string QuoteMessage { get; set; }

        //测试字段
        public string Direction { get; set; }
    }


    public class MessageToken
    {
        public static readonly string LoadShowContent = nameof(LoadShowContent);

        public static readonly string FullSwitch = nameof(FullSwitch);

        public static readonly string ContributorsView = nameof(ContributorsView);

        public static readonly string ClearLeftSelected = nameof(ClearLeftSelected);

        public static readonly string SendChatMessage = nameof(SendChatMessage);

        public static readonly string GrowlDemoPanel = nameof(GrowlDemoPanel);

        public static readonly string DialogDemoWindow = nameof(DialogDemoWindow);

        public static readonly string MainWindow = nameof(MainWindow);

        public static readonly string PracticalDemo = nameof(PracticalDemo);

        public static readonly string ProjectsView = nameof(ProjectsView);

        public static readonly string BlogsView = nameof(BlogsView);

        public static readonly string WebsitesView = nameof(WebsitesView);

        public static readonly string NotifyIconDemo = nameof(NotifyIconDemo);

        public static readonly string NotifyIconContextDemo = nameof(NotifyIconContextDemo);

        public static readonly string CommonWindow = nameof(CommonWindow);

        public static readonly string BlurWindow = nameof(BlurWindow);

        public static readonly string CustomNonClientAreaWindow = nameof(CustomNonClientAreaWindow);

        public static readonly string NoNonClientAreaDragableWindow = nameof(NoNonClientAreaDragableWindow);

        public static readonly string QQGroupView = nameof(QQGroupView);

        public static readonly string GlowWindow = nameof(GlowWindow);

        public static readonly string NativeCommonWindow = nameof(NativeCommonWindow);

        public static readonly string NavigationWindow = nameof(NavigationWindow);

        public static readonly string TouchDragMoveWindow = nameof(TouchDragMoveWindow);

        public static readonly string DialogContainer = nameof(DialogContainer);

        public static readonly string LangUpdated = nameof(LangUpdated);

        public static readonly string SkinUpdated = nameof(SkinUpdated);

        public static readonly string SendToOrderListViewOrderInfo = nameof(SendToOrderListViewOrderInfo);

        public static readonly string DefaultTradeMessageToken = nameof(DefaultTradeMessageToken);


        #region lxw新增Token（交易聊天相关）
        /// <summary>
        /// 新消息传入时触发
        /// </summary>
        public static readonly string NewChatMessageIn = nameof(NewChatMessageIn);

        /// <summary>
        /// 清空消息窗体
        /// </summary>
        public static readonly string ClearChatWindow = nameof(ClearChatWindow);

        #endregion

        /// <summary>
        /// 打开未平
        /// </summary>
        public static readonly string ExpandWeiPing = nameof(ExpandWeiPing);

     
    }
}
